NativeFrame
interface NativeFrame
A Frame or Depth created by VisionCamera on Android, backed by a CameraX ImageProxy (port of V5's public/NativeFrame.kt).
This is an extension point for plugin modules, which read the frame's native buffer through it.
Cast a Frame to a NativeFrame to access its image, e.g. for ML Kit:
val image = (frame as NativeFrame).image.imageContent copied to clipboard
Properties
Link copied to clipboard
The CameraX ImageProxy backing this Frame. It is closed when the Frame is disposed.